package com.ny.mapper;

import com.ny.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    @Insert("insert into user(username,password,nickname,phone,email,is_active,created_time) values(#{username},#{password},#{nickname},#{phone},#{email},#{isActive},#{createdTime})")
    int addUser(User user);
}